<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>老师登录</title>

    <link rel="stylesheet" type="text/css" href="/static/js/layui-v2.5.7/layui/css/layui.css">
    <script type="text/javascript" src="/static/js/layui-v2.5.7/layui/layui.js"></script>
    <script type="text/javascript" src="/static/js/myJs.js"></script>

    <script>
        layui.use(['form'], function () {
            var form = layui.form;
        })
    </script>
    
</head>
<body>


<form class="layui-form" action="Teacher_Login" method="post"
      style="text-align: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%)">
    

    <fieldset class="layui-elem-field">
        <legend>老师登录</legend>
        <div class="layui-field-box">

            <div class="layui-form-item">
                <label class="layui-form-label">老师姓名</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" required placeholder="请输入名字"
                           autocomplete="on" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">老师密码</label>
                <div class="layui-input-inline">
                    <input type="password" name="password" required placeholder="请输入密码"
                           autocomplete="on" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item" style="margin-left: 85px">
                <div class="layui-input-inline">

                    <a href="/studentLayer" class="layui-btn layui-btn-radius layui-btn-primary layui-btn-sm">
                        退出
                    </a>
                    <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
                    <button class="layui-btn layui-btn-sm" lay-submit>立即提交</button>

                </div>
            </div>

        </div>
    </fieldset>

</form>

</body>
</html>